﻿if exists (select * from dbo.sysobjects where name = 'sp_WorkDetail_GetById')	drop procedure [dbo].[sp_WorkDetail_GetById]Go CREATE PROCEDURE dbo.sp_WorkDetail_GetById	@wdID		intAS	SELECT * FROM [WorkDetail] WHERE wdID = @wdIDGo 